Platform Explorer / Nuxeo Platform 2021.52

Operation Picture.RecomputeViews (Recompute Picture Views)

Description

Recompute the picture views of the documents resulting from the provided NXQL query.
Operation id Picture.RecomputeViews
Category Services
Label Recompute Picture Views
Requires
Since 10.3

Parameters

Name Description Type Required Default value
query NXQL query to collect the documents whose picture views to recompute. string yes SELECT * FROM Document WHERE ecm:mixinType = 'Picture' AND picture:views/*/title IS NULL 

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.picture.operation.RecomputePictureViews
Contributing Component org.nuxeo.ecm.platform.picture.operation

JSON Definition

{
  "id" : "Picture.RecomputeViews",
  "label" : "Recompute Picture Views",
  "category" : "Services",
  "requires" : null,
  "description" : "Recompute the picture views of the documents resulting from the provided NXQL query.",
  "since" : "10.3",
  "url" : "Picture.RecomputeViews",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "query",
    "description" : "NXQL query to collect the documents whose picture views to recompute.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ "SELECT * FROM Document WHERE ecm:mixinType = 'Picture' AND picture:views/*/title IS NULL" ]
  } ]
}